package com.ctshk.rpc.finance.service;


import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.rpc.finance.dto.customer.CustomerDataDetailDTO;
import com.ctshk.rpc.finance.dto.customer.CustomerDataListDTO;
import com.ctshk.rpc.finance.req.customer.CustomerDataAddReq;
import com.ctshk.rpc.finance.req.customer.CustomerDataIdReq;
import com.ctshk.rpc.finance.req.customer.CustomerDataListReq;

/**
 * <p>
 * 客商期初 服务类
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-04-06
 */
public interface IFinanceCustomerDataService {

    /**
     * 列表
     * @param req
     * @return
     */
    Result<PageResponse<CustomerDataListDTO>> list(CustomerDataListReq req);

    /**
     * 新增
     * @param req
     * @return
     */
    Result add(CustomerDataAddReq req);

    /**
     * 详情
     * @param req
     * @return
     */
    Result<CustomerDataDetailDTO> detail(CustomerDataIdReq req);
}
